package com.teacher.jdbc;

import java.util.List;

public interface TeacherDao {
	// 添加
	public int addTeacher(Teacher teacher);
	// 更新
	public int updateTeacher(Teacher teacher);
	// 删除
	public int deleteTeacher(int id);
	
	// 通过id查询
	public Teacher findTeacherById(int id);
	// 查询所有账户
	public List<Teacher> findAllTeacher();
}
